package com.woniuxy.micropurchaseserver.suppliermsg.mapper;

import com.woniuxy.micropurchaseserver.bean.SupplierBean;
import org.apache.ibatis.annotations.*;

import java.util.List;

@Mapper
public interface SupplierMapper {
    public List<SupplierBean> findAllSupplier(@Param("p")SupplierBean supplierBean);

    @Delete("delete from t_supplier_info where id=#{id}")
    public Integer deleteSupplierById(Integer id);

    public Integer UpdateSupplier(@Param("pp")SupplierBean supplierBean);

    public Long InsertSupplier(SupplierBean supplierBean);
}
